package system.task.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import system.task.notify.TaskNotify;
import system.task.notify.TaskNotifyNotSupport;

@Configuration
public class TaskBeanConfig {

    @Bean
    @ConditionalOnMissingBean
    public TaskNotify taskNotify() {
        return new TaskNotifyNotSupport();
    }

}
